Logged In

Amy Wong

Amy Wong
Senior Technical Editor
Macromedia Developer Center


Previous Columns

Updated Flex Developer Center

The updated Flex Developer Center provides tutorials, articles, example applications, and news resources for developers who are building (or considering building) Macromedia Flex applications. Because of the newness of Macromedia Flex and because developers, project managers, and information architects come from many different backgrounds, you might be asking, "Where is the best place to start?" With that in mind, you can use this guide to content to get into the following topics:

An Overview of Flex

The Macromedia Flex presentation server offers a familiar, standards-based programming framework and a powerful set of components for creating a rich, responsive presentation tiers for enterprise Rich Internet Applications (RIAs). If you're just introducing yourself to Flex and want to find out what it does and how you might use it, check out the following resources:

Browsing Flex Application Examples

Check out live Flex applications and demos in the Flex Application Examples page. These example applications illustrate the type of RIAs that developers can create with Flex. Afterwards, read all about the WHITTMANHART dashboard application in Delivering Rich Business Intelligence, an article by WHITTMANHART Interactive developers, Dave Meeker and Ryan Carlos. They explain the application criteria and requirements for solving their business problem and how Flex—its language, architecture, and integrative capabilities—helped them build a dashboard application that exceeded their expectations.

Understanding Flex Architecture

In his article, Architecting Flex Applications, Flex Evangelist Christophe Coenraets answers the question: "What’s the right way to architect larger scale, real-life Flex applications?" With Flex, he explains, you don't have to abandon proven software engineering methodologies and practices; in fact, Flex embraces them through design patterns, such as MVC architecture, and through best practices, such as loose coupling of application components. Read the article for full details.

The article, Case Study: The Development Life Cycle of a Flex Application, examines one team as it used Flex in its development life cycle. It shows how in the Flex workflow, team participants can continue to do what they do best in the languages or IDEs that they're most comfortable. Flex added presentation-layer sophistication to the RIA they built, while seamlessly integrating into the team process and development cycle.

In Understanding the Macromedia Flex Experience Model, Mike Sundermeyer explains how Flex is in itself, an experience model called HALO. Mike defines HALO as, "a cross-platform experience model for Rich Internet Applications." He says that Macromedia developed HALO to use in its own applications, but later found that it provides "a consistent set of visual cues, interaction patterns, and application navigation conventions for developers of Rich Internet Applications." Now, through Flex, developers can create a HALO experience for all users; Flex provides many of HALO's central features: components, containers, layouts, and much more. However, great design still starts at home, as Mike adds."Think of us as your 'design team in a box,'" he says. "Of course, no amount of technology reliably yields a great experience, but HALO should give you some good tools with which to get started."

Comparing and Integrating Flex with Other Macromedia Technologies

If you come from a Macromedia Flash, ColdFusion, or Java background, you're undoubtedly comparing Flex to the technologies you already use. Start by reading Is Macromedia Flex the Right Fit for You?, by the Senior Director of Flex Engineering, David Wadhwani. David gives a technical overview of Flex and talks about the challenges of creating a new language, MXML, the Macromedia Flex language.

Visual developers have been asking, "Will Flex replace Macromedia Flash?" And the answer is a resounding "No!" Read what Nigel Pegg has to say about using Flex with Flash in Building Rich Internet Applications with Macromedia Flex: A Flash Perspective. Also watch Mike Chambers' Breeze presentation on Flex and Flash. Lastly, if you haven't already, read Understanding the Macromedia Flex Experience Model, written especially for visual developers.

Simultaneously, ColdFusion developers have been asking, "Will Flex replace ColdFusion?" Likewise, the answer is another resounding "No!" In fact Flex needs a server-side technology running underneath it, such as ColdFusion components, to provide web services. Flex is a presentation-tier technology, and thus still needs a server language for its data interactions, too. Ben Forta explains this in his Dashboard Application: Build a ColdFusion-Powered Flex App article, giving you an overview and an opportunity to build a ColdFusion-powered Flex app. Also make sure to watch Ben's Breeze presentation on ColdFusion and Flex.

Building Sample Code and Applications with Hands-On Tutorials

In addition to the articles listed above, the Developer Center has many tutorials that will help you use and master the building blocks of Flex applications, helping you build great RIAs that are great experiences for your users. Check out the tutorials below, and get your hands into the code.

Note that if you want to try Flex, the Flex trial is available on CD from the Macromedia store for $8.99. If you have questions about the Flex trial process, you can learn more about it in Flex Frequently Asked Questions.

Once you've downloaded and installed Flex, start with A Step-by-Step Guide to Building an Application with Flex. This tutorial walks you through the Flex Store, a guided selling application that includes product display, sorting and filtering, drag-and-drop selection, a shopping cart, and a complete checkout procedure. While the application is small, it illustrates some of the most common patterns for building much larger Flex applications.

In the "Learning Flex Basics Series" by Robert Crooks of the Macromedia training group, you can take a classroom approach to understanding the building blocks in Flex applications. Check out the tutorials in this four-part series:

Keeping Up To Date on Flex

Keep up to date and informed on the latest Flex happenings through the following resources:

We hope that you find the content and organization of the updated Flex Developer Center useful. If you do or if you don't, we want to know. We'll work to ensure the center has the topics and organization that help you successfully develop RIAs with Flex.